package com.example.demo.jvm.packfinally;

/**
 * @Description TODO
 * @Author BG490350
 * @Date 2023/7/6 10:10
 **/
public class Test {

    public static int func() {
        try {
            int a = 1 / 0;
            return 0;
        } catch (Exception e) {
            int b = 1 / 0;
        } finally {
            return 2;
        }
    }


}
